import defaults from './default';
import verse from './verse';
import gateruler from './gateruler';
import general from './general';
import currentDeck from './currentDeck';
import deckSet from './deckSet';
import { useRouteStoreWithOut } from '/@/store/modules/route';
import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [...defaults, ...verse, ...gateruler, ...general, ...currentDeck, ...deckSet];

export default routes;

const useRouteStore = useRouteStoreWithOut();
useRouteStore.setCacheRouteList(routes as any);
